package com.gitee.maskit.jackson.converter;

import com.fasterxml.jackson.databind.util.StdConverter;

public class JacksonByteToBoolean extends StdConverter<Byte, Boolean> {
    public Boolean convert(Byte value) {
        return null != value && 0 != value.compareTo((byte) 0);
    }
}
